<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/commons/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<%@ include file="/WEB-INF/jsp/commons/meta.jsp"%>
<title>我的积分记录</title>
</head>
<body>
	<%@ include file="/WEB-INF/jsp/commons/header.jsp"%>
	<div role="main" data-role="content" data-form="ui-body-a" data-theme="a" class="ui-content ui-body-a">
		<span>
			<a href="#" data-role="button" data-icon="bars" data-iconpos="notext" data-theme="b" data-iconshadow="false" data-inline="true">Bars</a>
			我的积分记录(最近10条记录)
		</span>
		<table style="width: 100%;" data-role="table" id="table-custom-2" data-mode="columntoggle" class="ui-body-d ui-shadow table-stripe ui-responsive" data-column-btn-theme="b"
			data-column-btn-text="显示..." data-column-popup-theme="a">
			<thead>
				<tr class="ui-bar-d">
					<th data-priority="1">时间</th>
					<th data-priority="2">积分码</th>
					<th>本次积分</th>
					<th data-priority="3">余额</th>
					<th data-priority="4">类型</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${records }" var="record">
					<tr>
						<td>${record.insertTime }</td>
						<td>${record.iCode }</td>
						<td>${record.point }</td>
						<td>${record.balance }</td>
						<td>${record.pointType.value }</td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
	</div>
	<%@ include file="/WEB-INF/jsp/commons/footer.jsp"%>
</body>
</html>